package com.qf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * (TbExam)实体类
 *
 * @author makejava
 * @since 2023-07-19 10:35:59
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbExam {        /**
     * 考试编号
     */
    @TableId(type = IdType.AUTO)
    private Integer examId;
    /**
     * 课程名称
     */
    private String examCourse;
    /**
     * 考试时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date examDatetime;
    /**
     * 考试时长
     */
    private String examLength;
    /**
     * 总分
     */
    private Integer examScore;
    /**
     * 试卷编号
     */
    private Integer testpaperId;


}
